package com.cskaoyan.app.bean.bo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

@Data
public class WxRegisBO {
	@NotEmpty(message = "验证码不能为空")
	private String code;
	@NotEmpty(message = "手机号不能为空")
	private String mobile;
	@NotEmpty(message = "用户名不能为空")
	private String username;
	@Length(min = 6, message = "密码至少6位")
	private String password;
	private String wxCode;
}